/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javaseapp - Var1
 * <p>Powered by webrx On 2021-07-27 10:45:13
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
public class Var3 {
    public static void main(String[] args) {
        byte b = 6;
        int c = b; //自动隐式转换
        byte a = (byte) c; //强制类型

        double i = 3;
        i++; //自身加1
        ++i;
        i--;//自身减1
        i += 1;
        i = i + 2;
        System.out.println(i);//7


    }
}
